﻿ #region Disclaimer/Info
 
 /////////////////////////////////////////////////////////////////////////////////////////////////
 //
 //   File:		ITagUrlBuilder.cs
 //   Website:		http://dexterblogengine.com/
 //   Authors:		http://dexterblogengine.com/About.ashx
 //   Rev:		1
 //   Created:		19/01/2011
 //   Last edit:		19/01/2011
 //   License:		GNU Library General Public License (LGPL)
 //   File:            ITagUrlBuilder.cs
 //   For updated news and information please visit http://dexterblogengine.com/
 //   Dexter is hosted to Codeplex at http://dexterblogengine.codeplex.com
 //   For any question contact info@dexterblogengine.com
 //
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 
 #endregion


using Dexter.Domain.Model;

namespace Dexter.Services {
	public interface ITagUrlBuilder {
		/// <summary>
		/// Return the detail url of the specified <see cref="TagItem"/>.
		/// </summary>
		/// <param name = "tag">The tag.</param>
		/// <example>
		/// 	http://dexterblogengine.com/Tags/Archive/My-Tag/
		/// </example>
		string Detail ( TagItem tag );

		/// <summary>
		/// Return the detail url of the specified <see cref="TagItem"/>.
		/// </summary>
		/// <param name = "tag">The tag.</param>
		/// <example>
		/// 	http://dexterblogengine.com/Tags/Archive/My-Tag/
		/// </example>
		string Detail ( string tag );
	}
}
